import request from '@/utils/request'

// 查询人员记录主列表
export function listJyActivityTeacher(query) {
  return request({
    url: '/research/jyActivityTeacher/list',
    method: 'get',
    params: query
  })
}

// 查询人员记录主详细
export function getJyActivityTeacher(id) {
  return request({
    url: '/research/jyActivityTeacher/' + id,
    method: 'get'
  })
}

// 新增人员记录主
export function addJyActivityTeacher(data) {
  return request({
    url: '/research/jyActivityTeacher',
    method: 'post',
    data: data
  })
}

// 修改人员记录主
export function updateJyActivityTeacher(data) {
  return request({
    url: '/research/jyActivityTeacher',
    method: 'put',
    data: data
  })
}

// 删除人员记录主
export function delJyActivityTeacher(id) {
  return request({
    url: '/research/jyActivityTeacher/' + id,
    method: 'delete'
  })
}
